#! /usr/bin/env python

import rospy
from std_msgs.msg import String

if __name__ == "__main__":
    rospy.init_node("C_Send")
    pub = rospy.Publisher("che",String,queue_size=10)

    msg = String()
    msg_front = "hello"
    count = 0
    rate = rospy.Rate(1)
    while not rospy.is_shutdown():
        msg.data = msg_front + str(count)
        pub.publish(msg)
        rate.sleep()
        rospy.loginfo("send data: %s",msg.data)
        count +=1



